package com.gitee.zhanyao.test.springrestdoc.controller;

public class NotFoundException extends RuntimeException {
    private final int code;
    private final String description;

    public NotFoundException(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return this.code;
    }

    public String getDescription() {
        return this.description;
    }
}